.chat-wrapper{
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
   .container{
    flex:1;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem 0;

      &::-webkit-scrollbar {
          width: 6px;
        }
        /* 初始状态隐藏滚动条 */
        &::-webkit-scrollbar-thumb {
          background: transparent;
          // background: rgba(255, 255, 255, 0.3);
          border-radius: 10px;
          transition: background 0.5s ease
        }
    
        /* 隐藏默认滚动条轨道 */
        &::-webkit-scrollbar-track {
          background: transparent;
          border-radius: 0;
        }
      /* 鼠标悬停时显示滚动条 */
      &:hover::-webkit-scrollbar-thumb {
          background: rgba(255, 255, 255, 0.2);

      }
    }
}